<div>
    <h1><?php echo link_to("Jeu", "show_rp") ?></h1>
    <?php if($last_action != NULL): ?>
    <?php echo $last_action->getKTDAdventure()->isNew() ? 'New' : 'Old' ?> <a href="<?php echo url_for("show_adventure_page", array('id' => $last_action->getKTDAdventure()->getId(), 'title_slug' => $last_action->getKTDAdventure()->getTitleSlug(), 'page' => $last_message->getPage())).'#'.$last_action->getId() ?>">Dernière action</a> dans <span class="bold italic"><?php echo link_to($last_action->getKTDAdventure()->getTitle(), "show_adventure", $last_action->getKTDAdventure()) ?></span> dans la région de <span class="italic"><?php echo link_to($last_action->getKTDAdventure()->getKTDRegion()->getName(), "show_region", $last_action->getKTDAdventure()->getKTDRegion()) ?></span>
    <div class="sub-content-borders">
    <div class="sub-content">
         <?php echo link_to($last_action->getKTDCharacter()->getPseudo(), 'show_character', $last_action->getKTDCharacter()); ?> :
           <br/><?php echo KillTheDragon::shortenText($bb_parser->getRawValue()->qparse($last_action->getBody()), 250) ?>
    </div>
    <?php endif; ?>
    </div>
    <h1><?php echo link_to("Hors Jeu", "show_hrp") ?></h1>
    <?php if($last_message != NULL): ?>
    <?php echo $last_message->getKTDTopic()->isNew() ? 'New' : 'Old' ?>
    <a href="<?php echo url_for('show_topic_page', array('id' => $last_message->getKTDTopic()->getId(), 'title_slug'=> $last_message->getKTDTopic()->getTitleSlug(), 'page' => $last_message->getPage()))?>#<?php echo $last_message->getId()?>">
        Dernier message
    </a> dans <span class="italic bold"><?php echo $last_message->getKTDTopic()->getTitle() ?></span>
    sur<span class="italic"><?php echo link_to($last_message->getKTDTopic()->getKTDForum()->getName(), "show_forum", $last_message->getKTDTopic()->getKTDForum()) ?></span>
    <br/>
    <div class="sub-content-borders">
    <div class="sub-content">
            <?php echo link_to($last_message->getKTDPlayer()->getPseudo(), 'show_player', $last_message->getKTDPlayer()); ?> :
         <br/><?php echo KillTheDragon::shortenText($bb_parser->getRawValue()->qparse($last_message->getBody()), 250) ?>
         <?php endif ?>
    </div>
    </div>
    <hr/>
 </div>